import { NSystem } from "../config/constants";
import { RSetState } from "../config/constants";

// 系统设置
export default {
  namespace: NSystem,
  state: {
    msg: "", // toast提示
  },
  reducers: {
    [RSetState](state: any, payload: any) {
      return {
        ...state,
        ...payload,
      };
    },
  },
  effects: {},
};
